<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\search\IcoOrderSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Ico 订单';
$this->params['breadcrumbs'][] = $this->title;
?>
<style>
    .form-group{
        width: 25%;
        float: left;
    }
</style>
<div class="ico-order-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php  echo $this->render('_search', ['model' => $searchModel]); ?>

    <p style="display: none">
        <?= Html::a('Create Ico Order', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'ico_project_id',
            'count',
            'statusLabel',
            'trade_no',
             'return_trade_no',
             'created_at:datetime',
//             'updated_at',
             'recieve_address',
             'send_address_time',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
